<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/XGame_template.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>XGame</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" -->
<link rel="stylesheet" type="text/css" href="test/style.css" />

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:300|Playfair+Display:400italic' rel='stylesheet' type='text/css' />

<noscript>
	<link rel="stylesheet" type="text/css" href="test/noscript.css" />
</noscript>
<!-- InstanceEndEditable -->
<link type="text/css" rel="stylesheet" href="CSS/css.css" />
</head>

<body>
<div id="container">

<div id="wrapper">

<div id="banner">
<!-- InstanceBeginEditable name="TopLink" -->
<?php
include('config.php');
session_start();
if(!empty($_SESSION['login_user'])){
	$login = $_SESSION['login_user'];
	$q = "SELECT user_name FROM user where user_ID = '$login'";
	$result=mysql_query($q);
	$data_fetch=mysql_fetch_array($result);
?>
<ul class="topLink">
<li> Welcome, <a href="UserProfile.php"> <?php echo $data_fetch['user_name']; ?> </a> </li>
<li> <a href="Wishlist.php"> Wishlist </a> &nbsp; | &nbsp;<a href="userShoppingCart.php"> Cart </a> </li>
<li> <a href="Logout.php"> Logout </a> </li>
</ul>
<?php
	}
	else{
?>
<div class="welcome">
<p style="float:right; padding-right:10px"> Welcome: &nbsp; (
<a href="Register.php"> LOGIN</a> |
<a href="Register.php"> REGISTER </a>) </p>
</div>
<?php
	}
?>
<!-- InstanceEndEditable -->

<img src="Assets/XGame.png" alt="XGame" />
</div>

<div id="menu">
<ul class="nav">
<form method="post" action="search_result.php">
<li> <span> <input type="text" placeholder="Search Keyword" name="search" />
&nbsp; <input type="submit" name="Search" value="Search" /> </span>
</li>
</form>
<li> <a href="Home.php"> Home </a> </li>
<li> <a href="ListOfNews.php"> News </a> </li>
<li> <a href="Games.php"> Games </a> </li>
<li> <a href="FAQ.php"> FAQ </a> </li>
<li> <a href="ContactUs.php"> Contact Us </a> </li>
</ul>

</div>

<div id="main">
<!-- InstanceBeginEditable name="Main" -->
<div class="container">

<div class="wrapper">
<div id="ei-slider" class="ei-slider">
	 <ul class="ei-slider-large">
	<li>
	<img src="Assets/FIFA 12.jpg" alt="image06"/>
	</li>
	
    <li>
	<img src="Assets/batmanarkhamcity.jpg" alt="image01"/>
	</li>
	
    <li>
	<img src="Assets/kingdom hearts 3D.jpg" alt="image02"/>
	</li>
	
    <li>
	<img src="Assets/metalgearsolid1.jpg" alt="image03"/>
	</li>
    </ul><!-- ei-slider-large -->
	
    <ul class="ei-slider-thumbs">
	<li class="ei-slider-element">Current</li>
	<li><a href="#">Slide 1</a><img src="Assets/FIFA 12.jpg" alt="thumb06" /></li>
    <li><a href="#">Slide 2</a><img src="Assets/batmanarkhamcity.jpg" alt="thumb01" /></li>
    <li><a href="#">Slide 3</a><img src="Assets/kingdom hearts 3D.jpg" alt="thumb02" /></li>
    <li><a href="#">Slide 4</a><img src="Assets/metalgearsolid1.jpg" alt="thumb03" /></li>
    </ul><!-- ei-slider-thumbs -->
	</div><!-- ei-slider -->
</div><!-- wrapper -->
</div>

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js"></script>

<script type="text/javascript" src="test/jquery.eislideshow.js"></script>

<script type="text/javascript" src="test/jquery.easing.1.3.js"></script>

<script type="text/javascript">
$(function() {
	$('#ei-slider').eislideshow({
		animation			: 'center',
		autoplay			: true,
		slideshow_interval	: 3000,
		titlesFactor		: 0
	});
});
</script>
<!-- InstanceEndEditable -->
</div>

<div id="footer">
<p align="center"> &copy; &nbsp; 2012 XGame </p>
</div>

</div>

</div>

</body>
<!-- InstanceEnd --></html>
